package com.jcxh.sg_exam.pojo;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import java.io.Serializable;
import java.time.LocalDateTime;
import java.util.Date;
import lombok.Data;

/**
 *
 * @TableName user_title
 */
@TableName(value ="user_title")
@Data
public class UserTitle implements Serializable {
    /**
     *
     */
    @TableId(type = IdType.AUTO)
    private Integer id;

    /**
     * 用户id
     */
    private Integer userId;

    /**
     * 1单选，2多选，3判断
     */
    private String type;

    /**
     *考场id
     */
    private Integer kaochangId;

    /**
     * 题目id
     */
    private Integer titleId;

    /**
     * 排序
     */
    private String orderId;

    /**
     * 用户答案
     */
    private String userAnswer;

    /**
     * 正确答案
     */
    private String realAnswer;


    /**
     * 答题时间
     */
    private LocalDateTime startTime;

    /**
     * 创建时间
     */
    private LocalDateTime createTime;

    @TableField(exist = false)
    private static final long serialVersionUID = 1L;



}
